//
//  WDNetworking.h
//  Pods
//
//  Created by apple on 2017/5/20.
//
//

#import <Foundation/Foundation.h>

@class WDNetworking;
typedef void(^ReturnBlockModel)(BOOL success, id result);

@interface WDNetworking : NSObject

@property (nonatomic, copy) ReturnBlockModel returnBlockModel;

+(id)netWorkingWithBaseModel:(id)model;
-(void)POST:(NSString *)baseUrl param:(NSDictionary *)param success:(ReturnBlockModel)success faile:(void(^)(NSError *error))faile;
-(void)GET:(NSString *)baseUrl param:(NSDictionary *)param success:(ReturnBlockModel)success faile:(void(^)(NSError *error)) faile;
@end
